package com.deyuanyun.pic.pbf.service.impl;

import com.deyuanyun.pic.pbf.domain.DefectMeasure;
import com.deyuanyun.pic.pbf.mapper.DefectMeasureMapper;
import com.deyuanyun.pic.pbf.service.DefectMeasureService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DefectMeasureServiceImpl implements DefectMeasureService {
    @Autowired
    private DefectMeasureMapper defectMeasureMapper;

    private static final Logger logger = LoggerFactory.getLogger(DefectMeasureServiceImpl.class);

    public DefectMeasure selectByPrimaryKey(String id) {
        return this.defectMeasureMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.defectMeasureMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(DefectMeasure record) {
        return this.defectMeasureMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(DefectMeasure record) {
        return this.defectMeasureMapper.updateByPrimaryKey(record);
    }

    public int insert(DefectMeasure record) {
        return this.defectMeasureMapper.insert(record);
    }
}